/**
 * cursor 规则
 */
import { CURSOR_STR } from '../constant';

export default {
    regExp: new RegExp(`^cursor-(?<value>${CURSOR_STR})$`),
    render({ groups }) {
        const { value } = groups;
        return {
            name: 'cursor',
            css: [`cursor: ${value}`]
        }
    },
}
